/*
 * @Author: GL
 * @Date: 2022-09-18 12:18:22
 * @LastEditors: GL
 * @LastEditTime: 2023-04-26 00:45:48
 * @Description: 数据库连接
 */
const mysql = require('mysql')

// 创建数据库连接
const db = mysql.createPool({
  host:'127.0.0.1',
  user:'root',
  password:'gl018024',
  database:'node_user'
})

module.exports = db


// 开发不易，如有需求，联系作者获取sql文件！
